package annotation.lazy

class Load {
	def hoge = { println "Load"; "hoge"}()
}
class LazyLoad {
	def @Lazy hoge = { println "LazyLoad"; "hoge"}()
}

println "create instance"
def load = new Load()
def lazy = new LazyLoad()
println lazy.hoge